/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.warehousekpi.entity;

import org.hibernate.validator.constraints.Length;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 工时计算Entity
 * @author hui.li
 * @version 2017-03-16
 */
public class WarehouseKpiReport extends DataEntity<WarehouseKpiReport> {
	
	private static final long serialVersionUID = 1L;
	private String warehouse;		// 仓库
	private Date date;		// 日期
	private String stunden;		// 考勤工时
	private String stundenSummary;//考勤工时汇总
	
	private String effectiveWorkingHours;		// 有效工时合计
	private String standardWorkingHours;		// 标准工时
	private String valueAddedHours;		// 增值工时
	private String abnormalWorkingHours;		// 异常工时
	private String supportWorkingHours;		// 支持工时
	private String employeeCount;		// 统计人数
	private String reason;		// 原因
	private String status;//1未计算；2计算完成
	private String effectivePercentage;// '=有效工时合计/考勤工时
	private Date beginDate;
	private Date endDate;
	private String rate;//RMB/人工时
	private String cost;//工时*rate
	private String costSummary;//工时*rate 汇总
	private String localRate;//RMB/人工时
	private String localCost;//工时*rate
	private String localCostSummary;//工时*rate 汇总
	
	public String getCostSummary() {
		return costSummary;
	}

	public void setCostSummary(String costSummary) {
		this.costSummary = costSummary;
	}

	public String getLocalCostSummary() {
		return localCostSummary;
	}

	public void setLocalCostSummary(String localCostSummary) {
		this.localCostSummary = localCostSummary;
	}

	public String getRate() {
		return rate;
	}

	public void setRate(String rate) {
		this.rate = rate;
	}

	public String getCost() {
		return cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getEffectivePercentage() {
		return effectivePercentage;
	}

	public void setEffectivePercentage(String effectivePercentage) {
		this.effectivePercentage = effectivePercentage;
	}

	public WarehouseKpiReport() {
		super();
	}

	public WarehouseKpiReport(String id){
		super(id);
	}

	@Length(min=0, max=64, message="仓库长度必须介于 0 和 64 之间")
	public String getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(String warehouse) {
		this.warehouse = warehouse;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	public String getStunden() {
		return stunden;
	}

	public void setStunden(String stunden) {
		this.stunden = stunden;
	}
	
	
	public String getStandardWorkingHours() {
		return standardWorkingHours;
	}

	public void setStandardWorkingHours(String standardWorkingHours) {
		this.standardWorkingHours = standardWorkingHours;
	}
	
	public String getValueAddedHours() {
		return valueAddedHours;
	}

	public void setValueAddedHours(String valueAddedHours) {
		this.valueAddedHours = valueAddedHours;
	}
	
	public String getAbnormalWorkingHours() {
		return abnormalWorkingHours;
	}

	public void setAbnormalWorkingHours(String abnormalWorkingHours) {
		this.abnormalWorkingHours = abnormalWorkingHours;
	}
	
	public String getSupportWorkingHours() {
		return supportWorkingHours;
	}

	public void setSupportWorkingHours(String supportWorkingHours) {
		this.supportWorkingHours = supportWorkingHours;
	}
	
	@Length(min=0, max=11, message="统计人数长度必须介于 0 和 11 之间")
	public String getEmployeeCount() {
		return employeeCount;
	}

	public void setEmployeeCount(String employeeCount) {
		this.employeeCount = employeeCount;
	}
	
	@Length(min=0, max=255, message="原因长度必须介于 0 和 255 之间")
	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}
	
	public String getEffectiveWorkingHours() {
		return effectiveWorkingHours;
	}

	public void setEffectiveWorkingHours(String effectiveWorkingHours) {
		this.effectiveWorkingHours = effectiveWorkingHours;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	public String getLocalRate() {
		return localRate;
	}

	public void setLocalRate(String localRate) {
		this.localRate = localRate;
	}

	public String getLocalCost() {
		return localCost;
	}

	public void setLocalCost(String localCost) {
		this.localCost = localCost;
	}
	public String getStundenSummary() {
		return stundenSummary;
	}

	public void setStundenSummary(String stundenSummary) {
		this.stundenSummary = stundenSummary;
	}

}